package cn.quevo.cube.provide.define.service;

import cn.quevo.common.entity.PageResult;
import cn.quevo.cube.provide.define.entity.CubeColumnExt;
import cn.quevo.cube.provide.define.entity.query.CubeColumnExtQuery;

import java.util.Map;

/**
 * 字段扩展信息 Service
 *
 * @author July july_sky@foxmail.com
 * @version 1.0
 * @date 2018/12/11 14:51:17
 * @Copyright 东方浩星（北京）传媒科技有限公司版权所有.All Rights Reserved.
 */
public interface CubeColumnExtService {

    /**
     * 根据ID获取字段扩展信息
     *
     * @param cubeColumnExtQuery
     * @return
     * @author July july_sky@foxmail.com
     * @date 2018/12/11 14:51:17
     */
    Map<String,Object> getSinge(CubeColumnExtQuery cubeColumnExtQuery);

    /**
     * 创建字段扩展信息
     *
     * @param cubeColumnExt
     * @return
     * @author July july_sky@foxmail.com
     * @date 2018/12/11 14:51:17
     */
    Integer create(CubeColumnExt cubeColumnExt);

    /**
     * 更新字段扩展信息
     *
     * @param cubeColumnExt
     * @return
     * @author July july_sky@foxmail.com
     * @date 2018/12/11 14:51:17
     */
    Integer update(CubeColumnExt cubeColumnExt);

    /**
     * 分页获取字段扩展信息
     *
     * @param cubeColumnExtQuery
     * @return
     * @author July july_sky@foxmail.com
     * @date 2018/12/11 14:51:17
     */
    PageResult<Map<String,Object>> getPage(CubeColumnExtQuery cubeColumnExtQuery);
}
